package com.jy.modules.cims.data.interact.core.credit.request;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
import com.jy.modules.cims.data.interact.core.BaseHeaderRequestDTO;

/**
 * 主要实现:从合作机构结清账户中转到应付月还账户
 * @classname: Request4040DTO.java
 * @description: 提前结清债权虚拟月还挂账结转Request
 * @author jieyue-yanjingying
 * @since 2016-04-01 15:05:00
 * @version 1.0.0
 */
public class Request4040DTO extends BaseHeaderRequestDTO {
	
	@NotBlank(message = "机构代码cCode不能为空")
	private String cCode;
	
	@Valid
	@NotEmpty(message = "虚拟月还债权列表virtualRepayList不能为空")
	@Size(min = 1, message = "虚拟月还债权列表virtualRepayList不能为空")
	private List<RequestCreditTransferVirtualRepayDTO> virtualRepayList;  //提前结清债权列表(虚拟月还债权列表)

	public List<RequestCreditTransferVirtualRepayDTO> getVirtualRepayList() {
		return virtualRepayList;
	}

	public void setVirtualRepayList(
			List<RequestCreditTransferVirtualRepayDTO> virtualRepayList) {
		this.virtualRepayList = virtualRepayList;
	}

	public String getCCode() {
		return cCode;
	}

	public void setCCode(String cCode) {
		this.cCode = cCode;
	}
}
